#include "Python.h"
#include "bexpython.hpp"
#include "bex/bex.hpp"

namespace sympy
{
    /** sympy module */
    extern PyObject *sp;
    /** sympy Symbol class */
    extern PyObject *S;
    extern PyObject *Symbol;
    extern PyObject *Matrix;
    extern PyObject *Function;
    /** sympy function */
    extern PyObject *symbols;
    extern PyObject *simplify;
    /** sympy basic class */
    extern PyObject *Integer;
    extern PyObject *Rational;
    extern PyObject *Float;

    int initialize();
    void finalize();

    void bxGetSymPy(
        int nlhs, bxArray *plhs[], 
        int nrhs, const bxArray *prhs[]);
}
